package br.edu.ufra.modelo;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.PrimaryKeyJoinColumn;
import javax.persistence.Table;

@Entity
@Table(name = "Aluno")
@PrimaryKeyJoinColumn (name = "id_aluno")
public class Aluno extends Pessoa {

	@Column(unique = true, length = 16, nullable = false)
	private String matricula;
	@Column(length = 32, nullable = false)
	private String curso;

	public String getMatricula() {
		return matricula;
	}

	public void setMatricula(String matricula) {
		this.matricula = matricula;
	}

	public String getCurso() {
		return curso;
	}

	public void setCurso(String curso) {
		this.curso = curso;
	}

}
